package com.example.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ChenXiaoBin
 * on 2019-07-04
 */
@Data
public class Department implements Serializable {
    private Integer id;

    @ApiModelProperty(value = "部门名称")
    @TableField("department_name")
    private String departmentName;

    @ApiModelProperty(value = "父级ID")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;
}
